import axios from "../utils/http";
export function indexFirst() {
    return axios.get("/api/weChat/applet/course/banner/list?number=5")
}
export function indexCourse(type,pageNum,pageSize) {
    let obj = new URLSearchParams();
    obj.append("type",type);
    obj.append("pageNum",pageNum);
    obj.append("pageSize",pageSize);
    return axios.post("/api/weChat/applet/course/list/type",obj)
}


